iconview: Ensure icons are at least 1x1 pixels
authorBenjamin Otte <otte@redhat.com>
Thu, 14 Jun 2012 16:44:06 +0000 (18:44 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 14 Jun 2012 16:44:44 +0000 (18:44 +0200)
commitfd4c330500e3b4b6318addfeabc42c9c57d69dea
tree7618d279661e9c9942bbd4401e0d7fa2373e750b
parent62292dc24764042487bba283bb811a27e8f48f9e
iconview: Ensure icons are at least 1x1 pixels

This is useful for 2 reasons:
(1) Items actually exist and are clickable
(2) Size computations don't divide by 0

I've not seen problems with this in the wild (mostly because
item-padding defaults to non-0), but noticed this while fixing other
bugs.
gtk/gtkiconview.c